package uploadfiletoserver;

import java.util.List;

public class Server {
    private String address;
    private int port;
    private String username;
    private String password;
    private String adminEmail;
    private List<String> fileToSend;

    public Server(String address, int port, String username, String password, String adminEmail, List<String> fileToSend) {
        this.address = address;
        this.port = port;
        this.username = username;
        this.password = password;
        this.adminEmail = adminEmail;
        this.fileToSend = fileToSend;
    }

    public String getAddress() {
        return address;
    }
    public int getPort() {
        return port;
    }
    public String getAdminEmail() {
        return adminEmail;
    }
    public List<String> getFileToSend() {
        return fileToSend;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    @Override
    public String toString() {
        return "two.Server{address = " + address + ", port = " + port + ", adminEmail = " + adminEmail + ", fileToSend = " + fileToSend + "}";
    }
}
